package com.sdry.service.approvalManagement.impl;

import java.util.List;

import javax.annotation.Resource;

import org.springframework.stereotype.Service;

import com.sdry.entity.approvalManagement.ModelEntity;
import com.sdry.mapper.approvalManagement.FlowManagementMapper;
import com.sdry.service.approvalManagement.FlowManagementService;
/**
 * 
 * @ClassName: FormManagementServiceImpl 
 * @Description:流程管理
 * @Author zc
 * @Date 2018年8月30日 下午3:14:39 
 * @version 1.0
 */
@Service
public class FlowManagementServiceImpl implements FlowManagementService {

	@Resource
	FlowManagementMapper fmMapper;
	/**
	 * 查询模板列表
	 */
	@Override
	public List<ModelEntity> selectModel() {
		return fmMapper.selectModel();
	}
	/**
	 * 删除表单
	 */
	@Override
	public int deleteForm(long mId) {
		return fmMapper.deleteForm(mId);
	}

}
